from Products.CMFCore.utils import getToolByName
from plone.app.layout.viewlets.common import ViewletBase
from zope.app.component.hooks import getSite

class FooterViewlet(ViewletBase):
    """
    Resto del Codigo
    """

    def utils(self):
        portal = getSite()
        portal_url = portal.absolute_url()
        return portal_url